package edu.java.water.mapper;

import edu.java.water.entity.NormEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;

@Mapper
@Repository
public interface NormMapper {
    @Select("select * from norm where product_id=#{product_id}")
    ArrayList<NormEntity> normList(Integer product_id);
}
